﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HPortal.Lib;
using System.Data;
using System.Data.SqlClient;
using System.Web.Security;

namespace HPortal
{
    public partial class Home : System.Web.UI.Page
    {
        protected string CenterSourceFile = HtmlHelper.GetRequestString("Url", null);
        protected int ChannelID = HtmlHelper.GetIdFromRequestString("ChannelID", -1);
        protected void Page_Load(object sender, EventArgs e)
        {
        
            PanelControl pn = (PanelControl)LoadControl("Module/ArticleList.ascx");
            pn.PanelID = 54;
            pn.field1 = "1";
            pn.field2 = "1";
            this.CenterCollumn.Controls.Add(pn);
            pn = (PanelControl)LoadControl("Module/DSDetaiLinhvuc.ascx");
            pn.PanelID = 7;
            pn.field1 = "1";
            pn.field2 = "1";
            this.LeftCollumn.Controls.Add(pn);
        }
    }
}